<?php

include("databaseconnect.php");
databaseconnect();
$sqlgroup = "SELECT * FROM groups WHERE groupname='users'";
$grouprow = mysql_fetch_assoc(mysql_query($sqlgroup));
$mygroupid = $grouprow['groupid'];
echo $mygroupid;

?>
